<%--
  Created by IntelliJ IDEA.
  User: cfy
  Date: 2018/7/23
  Time: 上午9:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  <%--JSP标准标签库--%>
<html>
<head>
    <title>ICBC Login</title>
</head>
<body>
<c:if test="${!empty error}">
    <font color="red"><c:out value="${error}" /></font>
</c:if>
<form action="<c:url value="/loginCheck"/>" method="post">      <%--这里设置下一页面的导向--%>
    用户名：
    <input type="text" name="userName">
    <br>
    密 码：
    <input type="password" name="password">
    <br>
    <input type="submit" value="登录" />
    <input type="reset" value="重置" />
</form>
</body>
</html>
